package com.xikeda.service.imp;

import com.xikeda.dao.DemoMapper;
import com.xikeda.service.DemoService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Component
public  class DemoServiceImp implements DemoService {
    @Resource
    private DemoMapper demoMapper;

    @Override
    public String findNameById(int id) {

        return demoMapper.findNameById(id);
    }
}
